package com.cff.service.dubbo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.cff.domain.UserTask;
import com.cff.mapper.suggest.SuggestMapper;
import com.cff.service.dubbo.SuggestDubboService;

public class SuggestDubboServiceImpl implements SuggestDubboService{
	
	@Autowired
	SuggestMapper suggestMapper;
    
    public List<UserTask> getUserTask(String userid){
		return suggestMapper.getUserTask(userid);	
    }
    
    public UserTask getUserTaskByTaskId(String taskid){
		return suggestMapper.getUserTaskByTaskId(taskid);	
    }
    
    public void updateStatus(UserTask userTask){
    	suggestMapper.updateStatus(userTask);	
    }
}
